package cn.tedu.system.oa.stamp.pojo.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@TableName("seal_management")
public class StampAddParam {
    @ApiModelProperty(value = "印章Id")
    @TableId(type = IdType.AUTO)
    Long id;

    @ApiModelProperty(value = "负责人Id")
    Long manageId;

    @ApiModelProperty(value = "负责部门Id")
    Long deptId;

    @ApiModelProperty(value = "印章名")
    String name;

    @ApiModelProperty(value = "印章状态")
    Integer status;

    @ApiModelProperty(value = "印章类型")
    Integer type;

    @ApiModelProperty(value = "印章数")
    Integer num;

    @ApiModelProperty(value = "印章用途")
    String function;

    @ApiModelProperty(value = "其他备注")
    String remark;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    Date updateTime;

    @ApiModelProperty(value = "图片路径")
    String imgUrl;
}
